package com.kjsb.dao;

import com.kjsb.vo.ProjectManage;
import com.kjsb.vo.ProjectSearch;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProjectManageDao {
    /**
     * 根据pid查询项目信息
     */
    ProjectManage getByPid(@Param("pid") Integer pid);

    /**
     * 修改项目信息
     */
    int updateProject(ProjectManage projectManage);
    /**
     * 简单查询
     */
    List<ProjectSearch> simpleSearch(String name);
}
